package com.dcy.daily.common.constant;

/**
 * 常量信息
 * @author duanchunyu
 * @version 1.0.0
 * @createTime 2021年05月28日 15:46:00
 */
public class Constants {
    public static final String VERTICAL_LINE_SPACE = " | ";
    //数据源类型
    public interface DATA_SOURCE_TYPE{
        String PRIMARY = "primary";
        String SECONDARY = "secondary";
    }
    // 10以下为系统专用
    public interface MODULE{
        //未知模块
        String UNKNOWN = "00";
        //异常
        String EXCEPTION = "01";
        //运行时异常
        String RUNTIME_EXCEPTION = "02";
        //不支持方法
        String METHOD_NOT_SUPPORT = "03";
        //RPC异常
        String RPC_EXCEPTION = "04";
        //队列信息异常
        String MQ_EXCEPTION = "05";
        //鉴权异常
        int AUTHENTICATION = 99;
    }
}
